package com.ruoyi.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.app.domain.AppUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * appUserMapper接口
 *
 * @author jiang
 * @date 2024-11-14
 */
@Mapper
public interface AppUserMapper extends BaseMapper<AppUser> {
    /**
     * 查询appUser
     *
     * @param id appUser主键
     * @return appUser
     */
    public AppUser selectAppUserById(Long id);

    /**
     * 查询appUser列表
     *
     * @param appUser appUser
     * @return appUser集合
     */
    public List<AppUser> selectAppUserList(AppUser appUser);

    /**
     * 新增appUser
     *
     * @param appUser appUser
     * @return 结果
     */
    public int insertAppUser(AppUser appUser);

    /**
     * 修改appUser
     *
     * @param appUser appUser
     * @return 结果
     */
    public int updateAppUser(AppUser appUser);

    /**
     * 删除appUser
     *
     * @param id appUser主键
     * @return 结果
     */
    public int deleteAppUserById(Long id);

    /**
     * 批量删除appUser
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppUserByIds(Long[] ids);
}

